/** properties of settings as the rule of sgf type **/

#ifndef SETTINGS_H
#define SETTINGS_H

#include "go.h"
//#include <QString>
#include <string>

class Settings
{
public:
    Settings();
    ~Settings();

    /** Interface **/
    void write_HA(int);
    void write_KM(double);
    void write_FF(int);
    //void write_RU(QString);
    void write_RU(string);
    void write_SZ(int);
    void write_AB(int,int);

    int get_HA();
    double get_KM();
    int get_FF();
    //QString get_RU() const;
    string get_RU() const;
    int get_SZ();
    series get_AB() const;

    //void write_GM(int);
    //int get_GM();
    /** Interface **/

private:
    int _HA; //handicaps
    double _KM; //komi
    int _GM; //game mode GM[1]-->Go
    int _FF; //fiel format FF[4]
    //QString _RU; //game rule
    string _RU;
    int _SZ; //board size
    series _AB; //stones setted for handicaps
};

#endif // SETTINGS_H
